package com.park.dao;

import com.park.bean.Attracts;
import com.park.bean.AttractsType;
import com.park.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IAttractsDao {
    List<Attracts> getAttracts(@Param("attracts") Attracts attracts, @Param("page") Page page);

    int getCount(@Param("attracts") Attracts attracts);
    List<AttractsType> getAttractsType();

    int postAttracts(Attracts attracts);

    int delAttracts(int id);

    int editAttracts(Attracts attracts);
}
